package FlowGraph.EdgeInfo;

import java.io.*;

//////////////////////////////////////////////////////////////////////////
//// EdgeInfo
/**

@author Ivan Jeukens
@version v 0.1 17/07/2002
*/
public class EdgeInfo {
    
    public static final int BACK = 1;
    public static final int SWITCH = 2;
    public static final int EXCEPTION = 3;
    public static final int IFBRANCH = 4;
    public static final int LOOP_BODY = 5;
    public static final int LOOP_EXIT = 6;

    public EdgeInfo(int type) {
        _type = type;
    }

    ///////////////////////////////////////////////////////////////////
    ////                        public methods                     ////

    public int getType() {
        return _type;
    }

    // Deixa para as classes derivadas. A informacao do tipo ta na
    // coloracao das areastas do .dot.
    public void debug(DataOutputStream outs) {
    }

    ///////////////////////////////////////////////////////////////////
    ////                      private variables                    ////

    protected int _type;
}
